﻿using System.Collections.Generic;
using TeaLight.Core.BL.Entities;

namespace TeaLight.Core.DAL
{
    public partial class SessionRepository
        : DataManagerBase<Session>
    {
        public static IEnumerable<SessionSpeaker> GetSessionSpeakers(Session session)
        {
            return SessionSpeakerRepository.GetTable().Where(i => i.SessionId == session.Id);
        }
    }
}
